package com.zenith.edu.po.dto;

import com.zenith.common.base.BaseDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = true)
@Schema(name = "EduProgressDTO", description = "学习进度DTO")
public class EduProgressDTO extends BaseDTO {
    
    @Schema(description = "主键ID")
    private Long id;
    
    @Schema(description = "学生ID")
    private Long studentId;
    
    @Schema(description = "课程ID")
    private Long courseId;
    
    @Schema(description = "章节ID（可为空）")
    private Long chapterId;
    
    @Schema(description = "学习进度百分比")
    private BigDecimal progressPct;
    
    @Schema(description = "已学习时长（秒）")
    private Integer duration;
    
    @Schema(description = "状态：1-正常 2-作废")
    private Integer status;
}